package com.example.june.zhanghaoguanli;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

import com.longfly_example.e_scale.R;

public class Zhucejiemian extends Activity {
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_zhuce);
        Button button1= (Button) findViewById(R.id.BT_return);
        Button button2= (Button) findViewById(R.id.BT_zhuce);


        button1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(Zhucejiemian.this, Activity_dl.class);
               startActivity(intent);
            }
        });
        button2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent1 = new Intent(Zhucejiemian.this, Activity_dl.class);
                Toast.makeText(Zhucejiemian.this, "注册成功", Toast.LENGTH_SHORT).show();
                startActivity(intent1);
            }
        });
    }
}
